package hao.d0313;

public class Student extends Person {
    private double math;
    private double english;
    public Student(String name,String address,String sex,int age,double math,double english){
        this.name=name;
        this.address=address;
        this.sex=sex;
        this.age=age;
        this.math=math;
        this.english=english;
    }

    public Student(String math,String english){

    }

    public Student(){

    }

    void Output(){
        System.out.println("姓名:"+this.name);
        System.out.println("地址:"+this.address);
        System.out.println("性别:"+this.sex);
        System.out.println("年龄:"+this.age);
        System.out.println("数学:"+this.math);
        System.out.println("英语:"+this.english);
    }

    public static void main(String[] args) {
        Student student = new Student();
        student.Output();
    }
}
